<div class="container">
  <div class="center-block login-box">

    <h4 class="text-muted" ng-show="envIsOk && !envMap['isIE']">您好，这是FAADM系统，如果您不是授权用户，请关闭此页面</h4>
    <form class="mt-20" method="post" ng-submit="login()" name="form" novalidate ng-show="envIsOk && !envMap['isIE']"> 
      <!-- 手机号 -->  
      <div class="form-group" ng-class="{'has-error': form.loginName.$dirty && form.loginName.$invalid }">
        <input type="text" class="form-control" name="loginName" ng-model="user.userNickname" required="required" placeholder="登录名" maxlength="31"> 
      </div>
      <!-- 密码 -->
      <div class="form-group" ng-class="{'has-error': form.password.$dirty && form.password.$invalid }">
        <input type="password" class="form-control" name="password" ng-model="user.password" required="required" ng-minlength="5" ng-maxlength="30" maxlength="30" placeholder="输入登录密码" pass-input>
        <p class="help-block">
          <span ng-show="form.password.$dirty && form.password.$error.required">请填写密码</span>
          <span ng-show="form.password.$dirty && form.password.$error.minlength">密码需要5位及以上</span>
          <span ng-show="form.password.$dirty && form.password.$error.maxlength">密码长度需要20位及以下</span>
          <span ng-show="form.password.$dirty && form.password.$error.passerror">密码输入有误，请重试</span>
        </p>
      </div> 
      <!-- 登录 -->      
      <div class="form-group">
        <button type="submit" class="btn btn-primary btn-block">登录</button>
      </div> 
    </form>

    <!--[if lt IE 9]>
    <div class="text-danger fz-13 mt-10">检测到您在使用IE浏览器，可能会丢失部分功能。强烈建议您使用Chrome或者Firefox浏览器</div>
    <![endif]-->
  </div>
</div>
